/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.toko.dao;

import com.toko.model.Item;
import java.util.List;

/**
 *
 * @author Benny
 */
public interface ItemDAO {

    public void InsertItem(Item item) throws Exception;

    public void UpdateItem(int oldId,Item item) throws Exception;

    public void DeleteItem(int id) throws Exception;

    public Item getById(int id) throws Exception;

    public List<Item> getAll() throws Exception;
}
